<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="js/jquery-3.4.1.min.js"></script>
<script>
var ar=[{name:"国顺",age:21},{name:"传奇",age:20},{name:"陶楠楠",age:21}];

$(function(){
	let t=$("#t");
	$.each(ar,function(index,obj){
		t.append("<tr><td>"+obj.name+"</td><td>"+obj.age+"</td></tr>");
	});
});
</script>
<!-- <script>
 var j={name:{chinese:"何涛",english:"hetao",ribenming:"松下涛"},age:22,married:false,addr:"合肥市蜂巢园"
		 ,show:function(){alert(this.name+","+this.addr);}};
 //alert(j);
 j.show();
 //alert(j.name.chinese);
 j.name.ribenming="酒井法涛";
 //[],"",,{}:
 //alert(j.name.ribenming);
 var ar=[{name:"国顺",age:21},{name:"传奇",age:20},{name:"陶楠楠",age:21}];
 for(var i=0;i<ar.length;i++){
	// alert(ar[i].name+">"+ar[i].age);
	 
 }
</script> -->
</head>
<body>
 <table border="2" id="t">
 <tr><Td>姓名</Td><td>年龄</td></tr>
 </table>
</body>
</html>